/**
 * @ Author:Yoann Meclot. MSay2
 * @ Created on:2020-08-29 07:59:03
 * @ Modified on: 2021-06-14 18:42:21
 */
/**
 * Copyright (c) 2020-2021 MSay2 (Yoann Meclot) - @msay2/tspoet
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { List } from "../util/list/List.js";
import { Modifier } from "./Modifier.js";
import { ObjectName } from "./ObjectName.js";
import { TSAnnotation } from "./TSAnnotation.js";
import { TSConstant } from "./TSConstant.js";
import { TSField } from "./TSField.js";
import { TSMethod } from "./TSMethod.js";
import { TSProperty } from "./TSProperty.js";
import { TSType } from "./TSType.js";

export declare class CodeWriter
{
    static BEGIN_BRACE:string;
    static END_BRACE:string;
    static BEGIN_BRACKET:string;
    static END_BRACKET:string;
    static SEMICOLON:string;
    static NEW_LINE:string;
    static TAB:string;
    static COMMA:string;
    static END_BRACE_SEMICOLON:string;
    
    public constructor(mIndents?: number);
    
    public emitImport(path:string, name:string):void;
    public emitStartBlock():void;
    public emitEndBlock():void;
    public emitKindClass():void;
    public emitKindEnum():void;
    public emitKindInterface():void;
    public emitModifiers(modifiers:List<Modifier>):void;
    public emitGenericNames(casts:List<string>):void;
    public emitSuperClass(superClass:ObjectName):void;
    public emitImplementations(impls:List<ObjectName>):void;

    public emitMethod(method:TSMethod):void;
    public emitAbstractMethod(method:TSMethod):void;
    public emitField(field:TSField):void;
    public emitConstant(constant:TSConstant):void;
    public emitProperty(property:TSProperty):void;
    public emitAnnotation(annotation:TSAnnotation):void;
    public emitDocs(docs:List<string>):void;
    public emitComments(comments:List<string>):void;
    public emitNestedClass(nestedClasses:List<TSType>):void;
    public emitNameSpaceForNestedClass(modifier:Modifier, owner:ObjectName, nestedClasses:List<TSType>):void;
    public emit(arg:string):CodeWriter;
    public emitAt(index:number, arg:string):void;
    public toString():string;
   
    public getCount():number;
}
//# sourceMappingURL=CodeWriter.d.ts.map